NOTE: This Technical Q&A has been retired. Please see the Technical Q&As page for current documentation.

Technical Q&A QD3D80
QD3D Windows Interactive Renderer


Q: In the following code fragment, the Q3Renderer_NewFromType function works if the wireframe renderer is specified, but fails if the interactive render is specified. A subsequent call to Q3Error_Get returns 0. Why is this? I'm using Visual C++ 4.2 under Windows NT4.0.

#if 0
	myRenderer = 
Q3Renderer_NewFromType(kQ3RendererTypeWireFrame);
#else
	myRenderer = 
Q3Renderer_NewFromType(kQ3RendererTypeInteractive);
#endif       ^^ this call is failing

A: Make sure you have the file QD3D_IR2.q3x in the same folder as the QD3D DLL. QD3D_IR2.q3x is the interactive renderer.

[Jul 11 1997]


Developer Documentation | Technical Notes | Development Kits | Sample Code